#ifndef _OGL_AVI_H_
#define _OGL_AVI_H_
#include "graphics/avi.h"
#include <d3d8.h>
class OglGraphics;
class oglAVI : public AVI
{
friend OglGraphics;
public:
    /**
     * Set the current texture to texture stage 
     *  @param _TexStage    Stage to set it to.
     */
    virtual bool    SetTextureStage(unsigned int _TexStage);

	virtual Surface*	GetSurface() { return NULL; };

protected:
	/**
     * Initialize class
     */
					oglAVI();
    /**
     * Destroy class
     */
	virtual			~oglAVI();
	virtual void		BlitToTexture();
	virtual bool		InitTexture();
	virtual bool		ShutdownTexture();

	// Surface
    LPDIRECT3DTEXTURE8		m_pTexture;       /// texture to encapsulate surface  

};


#endif // _ogl_AVI_H_